//
//  FreshSectionViewCollectionViewCell.m
//  Youhuiju
//
//  Created by 余尚飞 on 16/8/12.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "FreshSectionViewCollectionViewCell.h"

@interface FreshSectionViewCollectionViewCell ()

@end

@implementation FreshSectionViewCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.sectionTitleLabel.font = [UIFont systemFontOfSize:13 * FitH];
//    self.sectionTitleLabel.layer.cornerRadius = 5 * FitH;
//    self.sectionTitleLabel.layer.borderWidth = 1.0 * FitH;
//    self.sectionTitleLabel.layer.borderColor = [UIColor colorWithHexString:@"e5e5e5"].CGColor;
    
    self.layer.cornerRadius = 5 * FitH;
    self.layer.borderWidth = 1.0 * FitH;
    self.layer.borderColor = [UIColor colorWithHexString:@"e5e5e5"].CGColor;
}

-(void)setDataString:(NSString *)dataString
{
    if (_dataString != dataString)
    {
        _dataString = dataString;
        
        self.sectionTitleLabel.text = _dataString;
    }
}

@end
